package com.qdu.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.qdu.entity.Course;

public interface CourseService {
	Course selectCourseById(String id);
	
	boolean addCourse(Course Course,int acdmid);
	
	boolean modifyCourse(Course Course,int acdmid);
	
	boolean deleteCourseById(String id);
	
	List<Course> selectAllCourse();
	
	List<Course> selectCourseByacdmid(int acdmid);
	
	List<Course> selectCourseByKeyword(String keyword);
	
	boolean uploadCourse(MultipartFile file) throws Exception;
}
